If $f(x) = \begin{cases} x, & x \in \mathbb{Q} \\ 0, & x \notin \mathbb{Q} \end{cases}$ and $g(x) = \begin{cases} x, & x \in \mathbb{Q} \\ 0, & x \notin \mathbb{Q} \end{cases}$,then the function $(f - g)$ is:

  • A
    One-one onto
  • B
    One-one but not onto
  • C
    Onto but not one-one
  • D
    Neither one-one nor onto

Explore More

Similar Questions

Prove that the Greatest Integer Function $f: R \rightarrow R$,given by $f(x)=[x]$,is neither one-one nor onto,where $[x]$ denotes the greatest integer less than or equal to $x$.

If $f(x) = \sin([\pi^2]x) - \sin([-\pi^2]x)$,where $[x]$ denotes the greatest integer function $\leq x$,then which of the following is not true?

Which of the following functions is surjective but not injective?

Let a function $f: N \rightarrow N$ be defined by
$f(n) = \begin{cases} 2n, & n = 2, 4, 6, 8, \dots \\ n-1, & n = 3, 7, 11, 15, \dots \\ \frac{n+1}{2}, & n = 1, 5, 9, 13, \dots \end{cases}$
Then,$f$ is

Consider the following statements:
Statement-$I$ : $A$ function $f: A \rightarrow B$ is said to be one-one if and only if $f(x) \neq f(y) \Rightarrow x \neq y$.
Statement-$II$ : $A$ relation $f: A \rightarrow B$ is said to be a function if $x \neq y \Rightarrow f(x) \neq f(y)$.
Then which one of the following is true?

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo